ExtractHTML

Captures HTML in a web page and saves it to a text file. Creates the text file if it does not exist. For example, use this statement to help verify the HTML follows your organization's coding standards.

Syntax

ExtractHTML("FullFilePath")

Arguments

Argument Description
FullFilePath Full path to the file to save the extracted HTML in.

Supported objects

Browser, Window

Example

Browser("Report a Bug").ExtractHTML("C:\\WebTesting\\ReportBug.txt")